package net.sk.china.platform.service;

import java.util.Map;

/**
 * HomeService 接口
 * +----------------------------------------------------------------------
 * // | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * // +----------------------------------------------------------------------
 * // | Copyright (c) 2018-2024 聊来 All rights reserved.
 * // +----------------------------------------------------------------------
 * // | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * // +----------------------------------------------------------------------
 * // | @Author: 聊来 <18970881148@qq.com>
 * // +----------------------------------------------------------------------
 * // | DateTime: 2024/6/5 17:04
 * // +----------------------------------------------------------------------
 */
public interface HomeService {

    /**
     * 用户曲线图
     * @return Map<Object, Object>
     */
    Map<Object, Object> chartUser();

    /**
     * 30天订单量趋势
     * @return Map<Object, Object>
     */
    Map<String, Object> chartOrder();


    /**
     * 周订单量趋势
     * @return Map<Object, Object>
     */
    Map<String, Object> chartOrderInWeek();

    /**
     * 月订单量趋势
     * @return Map<Object, Object>
     */
    Map<String, Object> chartOrderInMonth();

    /**
     * 年订单量趋势
     * @return Map<Object, Object>
     */
    Map<String, Object> chartOrderInYear();
}
